package com.microservice.auth.service;


import com.microservice.model.system.User;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;

import java.util.Map;

public interface ILoginService {

    Map<String, String> createToken(User user, HttpServletResponse response);

    User getUserInfo(String username, String password);

    String getAccessToken(HttpServletRequest httpServletRequest);

    void logout(String accessToken);
}
